package com.codi.bus.core.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.codi.base.domain.BaseDomain;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 亲，写个类注释呗
 * @author asus
 * @date 2018-03-12 17:38
 */
@Builder
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PortfolioFund extends BaseDomain {
    private Long pfPortfolioFundId;

    private Long pfOnePortfolioId;

    private String pfFundCode;

    private String pfFundName;

    private BigDecimal pfFundCurrentShare;

    private BigDecimal pfFundEnableShare;

    private BigDecimal pfFundWorthValue;

    private BigDecimal pfFundTodayIncome;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pfNetValueDate;

    private BigDecimal pfNetValue;

    private BigDecimal pfLastdayNetValue;

    private BigDecimal pfDailyProfit;

    private BigDecimal pfTodayIncomeRate;

    private Boolean pfIsCurrency;

    private String pfAssetType;

    private BigDecimal pfAccumIncome;

    private BigDecimal pfUnpaidIncome;

    private BigDecimal pfShareIncome;

    private String pfTradeAccount;

    private BigDecimal pfFundCost;

    private Boolean pfAutoBuy;

    private BigDecimal pfFundInvestRate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pfEffectTime;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pfCreateDate;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date pfUpdateDate;

    private static final long serialVersionUID = 1L;
}